package com.wiscamp.ninechapters.problems.infrastructure.mappers.spider;

import com.wiscamp.ninechapters.problems.infrastructure.po.spider.ProblemSolution;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
@Deprecated
public interface ProblemSolutionMapper extends JpaRepository<ProblemSolution, Long>, JpaSpecificationExecutor<ProblemSolution> {

    ProblemSolution findFirstByProblemTypeAndProblemYearAndProblemIndex(String problemType, int problemYear, int problemIndex);
}